<?php
/*
	common.php
*/

if (!defined('IN_ROACH')) { exit; } // we don't want direct access to this file

// prepare template
require_once(ROOT.DS.'include'.DS.'template.php');
$template = new template(ROOT.DS.'template'.DS.$config['template'].DS);
$template->assign_vars(array(
	'X_ENCODING' => 'utf-8',
	'X_LAYOUT' => './template/'.$config['template'].'/css/layout.css',
	'X_THEME' => './template/'.$config['template'].'/css/theme.css',
));

// load language file into template
require_once(ROOT.DS.'language'.DS.$config['language'].DS.'language.php');
$template->assign_vars($language);

?>